/*
 *  buttons.h
 *  halo3timer
 *
 *  Created by Phillip LeBlanc on 10/22/08.
 *  Copyright 2008 Team FEV. All rights reserved.
 *
 */
 
 #ifndef BUTTONS_H
 #define BUTTONS_H



typedef struct {
	int defined; //is this gametype defined 
} ctfstruct;

typedef struct {
	int defined;
} ballstruct;

typedef struct {
	int defined;
	int hillmove;
} hillstruct;

typedef struct {
	int defined;
} slayerstruct;

typedef struct {
	ctfstruct ctf;
	ballstruct ball;
	slayerstruct slayer;
	hillstruct hill;
} gametypes;

typedef struct {
	gametypes gtype;
	int sniper;  //How often the sniper respawns
	int rockets;  //teh rocks
	int over;  //Overshield
	int camo;  //Invisibility
	int gtime;  //Game Time
	char mname[10];
} map;

typedef struct {  //Assumes the clickable region is a square
	int x;  //The point (x,y) refers to the top left pixel of the button
	int y;
	int width;
	int height;
} button;

extern map guardian;
extern map narrows;
extern map construct;
extern map pit;

extern button coords[4];
extern button gtype_coords[5];

#endif
